[INFO] fetching crate cosmian-wit-parser 0.1.0...
[INFO] checking cosmian-wit-parser-0.1.0 against master#158f00a1c5175648af6f6099b075f78d1d014a28 for pr-121251
[INFO] extracting crate cosmian-wit-parser 0.1.0 into /workspace/builds/worker-6-tc1/source
[INFO] validating manifest of crates.io crate cosmian-wit-parser 0.1.0 on toolchain 158f00a1c5175648af6f6099b075f78d1d014a28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate cosmian-wit-parser 0.1.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate cosmian-wit-parser 0.1.0
[INFO] tweaked toml for crates.io crate cosmian-wit-parser 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wast v33.0.0
[INFO] [stderr]   Downloaded wast v22.0.0
[INFO] [stderr]   Downloaded witx v0.8.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6c4c2aaaade7196202c2c51ba3e742b85470960e2b57c97f8b680c140ef5196d
[INFO] running `Command { std: "docker" "start" "-a" "6c4c2aaaade7196202c2c51ba3e742b85470960e2b57c97f8b680c140ef5196d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6c4c2aaaade7196202c2c51ba3e742b85470960e2b57c97f8b680c140ef5196d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6c4c2aaaade7196202c2c51ba3e742b85470960e2b57c97f8b680c140ef5196d", kill_on_drop: false }`
[INFO] [stdout] 6c4c2aaaade7196202c2c51ba3e742b85470960e2b57c97f8b680c140ef5196d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c74705e8d29920224e1babd1342100b6170dfd04fcd4e5a51f42f015effe9642
[INFO] running `Command { std: "docker" "start" "-a" "c74705e8d29920224e1babd1342100b6170dfd04fcd4e5a51f42f015effe9642", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling pulldown-cmark v0.8.0
[INFO] [stderr]     Checking id-arena v2.2.1
[INFO] [stderr]     Checking either v1.10.0
[INFO] [stderr]     Checking serde v1.0.197
[INFO] [stderr]     Checking rayon v1.9.0
[INFO] [stderr]     Checking cosmian-wit-parser v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:336:36
[INFO] [stdout]     |
[INFO] [stdout] 336 |                 Some((_, '\'')) => ('\''),
[INFO] [stdout]     |                                    ^    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 336 -                 Some((_, '\'')) => ('\''),
[INFO] [stdout] 336 +                 Some((_, '\'')) => '\'',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:337:35
[INFO] [stdout]     |
[INFO] [stdout] 337 |                 Some((_, 't')) => ('\t'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 337 -                 Some((_, 't')) => ('\t'),
[INFO] [stdout] 337 +                 Some((_, 't')) => '\t',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:338:35
[INFO] [stdout]     |
[INFO] [stdout] 338 |                 Some((_, 'n')) => ('\n'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 338 -                 Some((_, 'n')) => ('\n'),
[INFO] [stdout] 338 +                 Some((_, 'n')) => '\n',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:339:35
[INFO] [stdout]     |
[INFO] [stdout] 339 |                 Some((_, 'r')) => ('\r'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 339 -                 Some((_, 'r')) => ('\r'),
[INFO] [stdout] 339 +                 Some((_, 'r')) => '\r',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:340:36
[INFO] [stdout]     |
[INFO] [stdout] 340 |                 Some((_, '\\')) => ('\\'),
[INFO] [stdout]     |                                    ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 340 -                 Some((_, '\\')) => ('\\'),
[INFO] [stdout] 340 +                 Some((_, '\\')) => '\\',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking serde_json v1.0.114
[INFO] [stdout] error[E0432]: unresolved import `wit_parser`
[INFO] [stdout]   --> tests/all.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use wit_parser::*;
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared crate or module `wit_parser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `wit_parser`
[INFO] [stdout]    --> tests/all.rs:291:13
[INFO] [stdout]     |
[INFO] [stdout] 291 |         use wit_parser::Type;
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared crate or module `wit_parser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:336:36
[INFO] [stdout]     |
[INFO] [stdout] 336 |                 Some((_, '\'')) => ('\''),
[INFO] [stdout]     |                                    ^    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 336 -                 Some((_, '\'')) => ('\''),
[INFO] [stdout] 336 +                 Some((_, '\'')) => '\'',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:337:35
[INFO] [stdout]     |
[INFO] [stdout] 337 |                 Some((_, 't')) => ('\t'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 337 -                 Some((_, 't')) => ('\t'),
[INFO] [stdout] 337 +                 Some((_, 't')) => '\t',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:338:35
[INFO] [stdout]     |
[INFO] [stdout] 338 |                 Some((_, 'n')) => ('\n'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 338 -                 Some((_, 'n')) => ('\n'),
[INFO] [stdout] 338 +                 Some((_, 'n')) => '\n',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:339:35
[INFO] [stdout]     |
[INFO] [stdout] 339 |                 Some((_, 'r')) => ('\r'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 339 -                 Some((_, 'r')) => ('\r'),
[INFO] [stdout] 339 +                 Some((_, 'r')) => '\r',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:340:36
[INFO] [stdout]     |
[INFO] [stdout] 340 |                 Some((_, '\\')) => ('\\'),
[INFO] [stdout]     |                                    ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 340 -                 Some((_, '\\')) => ('\\'),
[INFO] [stdout] 340 +                 Some((_, '\\')) => '\\',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interface`
[INFO] [stdout]    --> tests/all.rs:101:22
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let result = Interface::parse_file(test);
[INFO] [stdout]     |                      ^^^^^^^^^ use of undeclared type `Interface`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::Interface;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Interface` in this scope
[INFO] [stdout]    --> tests/all.rs:156:16
[INFO] [stdout]     |
[INFO] [stdout] 156 | fn to_json(i: &Interface) -> String {
[INFO] [stdout]     |                ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::Interface;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:267:13
[INFO] [stdout]     |
[INFO] [stdout] 267 |             TypeDefKind::Type(t) => Type::Primitive(translate_type(t)),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:268:13
[INFO] [stdout]     |
[INFO] [stdout] 268 |             TypeDefKind::Record(r) => Type::Record {
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:275:13
[INFO] [stdout]     |
[INFO] [stdout] 275 |             TypeDefKind::Variant(v) => Type::Variant {
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:282:13
[INFO] [stdout]     |
[INFO] [stdout] 282 |             TypeDefKind::PushBuffer(ty) => Type::PushBuffer(translate_type(ty)),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:283:13
[INFO] [stdout]     |
[INFO] [stdout] 283 |             TypeDefKind::PullBuffer(ty) => Type::PullBuffer(translate_type(ty)),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:284:13
[INFO] [stdout]     |
[INFO] [stdout] 284 |             TypeDefKind::List(ty) => Type::List(translate_type(ty)),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:285:13
[INFO] [stdout]     |
[INFO] [stdout] 285 |             TypeDefKind::Pointer(ty) => Type::Pointer(translate_type(ty)),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:286:13
[INFO] [stdout]     |
[INFO] [stdout] 286 |             TypeDefKind::ConstPointer(ty) => Type::ConstPointer(translate_type(ty)),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wit_parser`
[INFO] [stdout]    --> tests/all.rs:265:31
[INFO] [stdout]     |
[INFO] [stdout] 265 |     fn translate_typedef(ty: &wit_parser::TypeDef) -> Type {
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared crate or module `wit_parser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wit_parser`
[INFO] [stdout]    --> tests/all.rs:290:28
[INFO] [stdout]     |
[INFO] [stdout] 290 |     fn translate_type(ty: &wit_parser::Type) -> String {
[INFO] [stdout]     |                            ^^^^^^^^^^ use of undeclared crate or module `wit_parser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cosmian-wit-parser` (test "all") due to 15 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "c74705e8d29920224e1babd1342100b6170dfd04fcd4e5a51f42f015effe9642", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c74705e8d29920224e1babd1342100b6170dfd04fcd4e5a51f42f015effe9642", kill_on_drop: false }`
[INFO] [stdout] c74705e8d29920224e1babd1342100b6170dfd04fcd4e5a51f42f015effe9642
[INFO] checking cosmian-wit-parser-0.1.0 against try#b4fc5dbf0bc33be331f9d893db5b3a794f29724a+rustflags=-Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds for pr-121251
[INFO] extracting crate cosmian-wit-parser 0.1.0 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate cosmian-wit-parser 0.1.0 on toolchain b4fc5dbf0bc33be331f9d893db5b3a794f29724a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate cosmian-wit-parser 0.1.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate cosmian-wit-parser 0.1.0
[INFO] tweaked toml for crates.io crate cosmian-wit-parser 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b16ca5e439a3b6040edb8242fb92ae4fcef7d622f18c482e1e64aefb565525f2
[INFO] running `Command { std: "docker" "start" "-a" "b16ca5e439a3b6040edb8242fb92ae4fcef7d622f18c482e1e64aefb565525f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b16ca5e439a3b6040edb8242fb92ae4fcef7d622f18c482e1e64aefb565525f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b16ca5e439a3b6040edb8242fb92ae4fcef7d622f18c482e1e64aefb565525f2", kill_on_drop: false }`
[INFO] [stdout] b16ca5e439a3b6040edb8242fb92ae4fcef7d622f18c482e1e64aefb565525f2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8a264c42c59b1b62d547e67ecff8139916209624719da2e77e5ef75f14d22ce8
[INFO] running `Command { std: "docker" "start" "-a" "8a264c42c59b1b62d547e67ecff8139916209624719da2e77e5ef75f14d22ce8", kill_on_drop: false }`
[INFO] [stderr]    Compiling pulldown-cmark v0.8.0
[INFO] [stderr]     Checking either v1.10.0
[INFO] [stderr]     Checking id-arena v2.2.1
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]     Checking serde v1.0.197
[INFO] [stderr]     Checking rayon v1.9.0
[INFO] [stderr]     Checking cosmian-wit-parser v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]     --> src/abi.rs:1041:34
[INFO] [stdout]      |
[INFO] [stdout] 1041 |                         for _ in 0..self.preview1_num_types(ty) {
[INFO] [stdout]      |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]     --> src/abi.rs:1131:34
[INFO] [stdout]      |
[INFO] [stdout] 1131 |                         for _ in 0..r.num_i32s() {
[INFO] [stdout]      |                                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]     --> src/abi.rs:1275:28
[INFO] [stdout]      |
[INFO] [stdout] 1275 |                 for nth in 0..func.params.len() {
[INFO] [stdout]      |                            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]     --> src/abi.rs:1381:28
[INFO] [stdout]      |
[INFO] [stdout] 1381 |                 for nth in 0..nargs {
[INFO] [stdout]      |                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]     --> src/abi.rs:1521:28
[INFO] [stdout]      |
[INFO] [stdout] 1521 |                     .drain(self.stack.len() - ntys..)
[INFO] [stdout]      |                            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]     --> src/abi.rs:1537:20
[INFO] [stdout]      |
[INFO] [stdout] 1537 |             .drain(self.stack.len() - tys.len()..)
[INFO] [stdout]      |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]     --> src/abi.rs:1579:38
[INFO] [stdout]      |
[INFO] [stdout] 1579 |             .extend(self.stack.drain((self.stack.len() - operands_len)..));
[INFO] [stdout]      |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]     --> src/abi.rs:1607:38
[INFO] [stdout]      |
[INFO] [stdout] 1607 |             .extend(self.stack.drain((self.stack.len() - size)..));
[INFO] [stdout]      |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]     --> src/abi.rs:1744:36
[INFO] [stdout]      |
[INFO] [stdout] 1744 | ...                   .drain(self.stack.len() - record.fields.len()..)
[INFO] [stdout]      |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]     --> src/abi.rs:1854:80
[INFO] [stdout]      |
[INFO] [stdout] 1854 | ...                   for (actual, expected) in temp.iter().zip(&results[1..]) {
[INFO] [stdout]      |                                                                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]     --> src/abi.rs:1867:47
[INFO] [stdout]      |
[INFO] [stdout] 1867 | ...                   tys: &results[pushed..],
[INFO] [stdout]      |                                     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]     --> src/abi.rs:2057:36
[INFO] [stdout]      |
[INFO] [stdout] 2057 | ...                   .drain(self.stack.len() - temp.len()..)
[INFO] [stdout]      |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]     --> src/abi.rs:2144:32
[INFO] [stdout]      |
[INFO] [stdout] 2144 |                         .drain(self.stack.len() + 1 - params.len()..)
[INFO] [stdout]      |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]     --> src/abi.rs:2159:79
[INFO] [stdout]      |
[INFO] [stdout] 2159 | ...                   for (actual, expected) in temp.iter().zip(&params[1..]) {
[INFO] [stdout]      |                                                                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]     --> src/abi.rs:2238:38
[INFO] [stdout]      |
[INFO] [stdout] 2238 | ...                   for i in 0..r.num_i32s() {
[INFO] [stdout]      |                                ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]     --> src/abi.rs:2258:32
[INFO] [stdout]      |
[INFO] [stdout] 2258 |                         .drain(self.stack.len() - record.fields.len()..)
[INFO] [stdout]      |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]     --> src/abi.rs:2367:38
[INFO] [stdout]      |
[INFO] [stdout] 2367 | ...                   for i in 0..r.num_i32s() {
[INFO] [stdout]      |                                ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ast/lex.rs:121:21
[INFO] [stdout]     |
[INFO] [stdout] 121 |         &self.input[span.start as usize..span.end as usize]
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ast/lex.rs:215:35
[INFO] [stdout]     |
[INFO] [stdout] 215 |                 match &self.input[start..end] {
[INFO] [stdout]     |                                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:336:36
[INFO] [stdout]     |
[INFO] [stdout] 336 |                 Some((_, '\'')) => ('\''),
[INFO] [stdout]     |                                    ^    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 336 -                 Some((_, '\'')) => ('\''),
[INFO] [stdout] 336 +                 Some((_, '\'')) => '\'',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:337:35
[INFO] [stdout]     |
[INFO] [stdout] 337 |                 Some((_, 't')) => ('\t'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 337 -                 Some((_, 't')) => ('\t'),
[INFO] [stdout] 337 +                 Some((_, 't')) => '\t',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:338:35
[INFO] [stdout]     |
[INFO] [stdout] 338 |                 Some((_, 'n')) => ('\n'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 338 -                 Some((_, 'n')) => ('\n'),
[INFO] [stdout] 338 +                 Some((_, 'n')) => '\n',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:339:35
[INFO] [stdout]     |
[INFO] [stdout] 339 |                 Some((_, 'r')) => ('\r'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 339 -                 Some((_, 'r')) => ('\r'),
[INFO] [stdout] 339 +                 Some((_, 'r')) => '\r',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:340:36
[INFO] [stdout]     |
[INFO] [stdout] 340 |                 Some((_, '\\')) => ('\\'),
[INFO] [stdout]     |                                    ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 340 -                 Some((_, '\\')) => ('\\'),
[INFO] [stdout] 340 +                 Some((_, '\\')) => '\\',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]    --> src/ast/lex.rs:346:26
[INFO] [stdout]     |
[INFO] [stdout] 346 |                     || (('\u{20}'..='\u{10ffff}').contains(&ch) && ch != '\u{7f}') =>
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]    --> src/ast/lex.rs:378:13
[INFO] [stdout]     |
[INFO] [stdout] 378 |         || ('A'..='Z').contains(&ch)
[INFO] [stdout]     |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]    --> src/ast/lex.rs:379:13
[INFO] [stdout]     |
[INFO] [stdout] 379 |         || ('a'..='z').contains(&ch)
[INFO] [stdout]     |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]    --> src/ast/lex.rs:380:13
[INFO] [stdout]     |
[INFO] [stdout] 380 |         || ('0'..='9').contains(&ch)
[INFO] [stdout]     |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/ast/resolve.rs:100:32
[INFO] [stdout]     |
[INFO] [stdout] 100 |             for name in u.from[1..].iter() {
[INFO] [stdout]     |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ast/resolve.rs:523:33
[INFO] [stdout]     |
[INFO] [stdout] 523 |                 for line in doc[2..doc.len() - 2].lines() {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]     --> src/ast.rs:1056:36
[INFO] [stdout]      |
[INFO] [stdout] 1056 |         if let Some(s) = input.get(start..end) {
[INFO] [stdout]      |                                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/lib.rs:275:35
[INFO] [stdout]     |
[INFO] [stdout] 275 |                 for _ in contents[last_pos..range.start].lines() {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 32 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking serde_json v1.0.114
[INFO] [stdout] error[E0432]: unresolved import `wit_parser`
[INFO] [stdout]   --> tests/all.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use wit_parser::*;
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared crate or module `wit_parser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `wit_parser`
[INFO] [stdout]    --> tests/all.rs:291:13
[INFO] [stdout]     |
[INFO] [stdout] 291 |         use wit_parser::Type;
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared crate or module `wit_parser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]     --> src/abi.rs:1041:34
[INFO] [stdout]      |
[INFO] [stdout] 1041 |                         for _ in 0..self.preview1_num_types(ty) {
[INFO] [stdout]      |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]     --> src/abi.rs:1131:34
[INFO] [stdout]      |
[INFO] [stdout] 1131 |                         for _ in 0..r.num_i32s() {
[INFO] [stdout]      |                                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]     --> src/abi.rs:1275:28
[INFO] [stdout]      |
[INFO] [stdout] 1275 |                 for nth in 0..func.params.len() {
[INFO] [stdout]      |                            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]     --> src/abi.rs:1381:28
[INFO] [stdout]      |
[INFO] [stdout] 1381 |                 for nth in 0..nargs {
[INFO] [stdout]      |                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]     --> src/abi.rs:1521:28
[INFO] [stdout]      |
[INFO] [stdout] 1521 |                     .drain(self.stack.len() - ntys..)
[INFO] [stdout]      |                            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]     --> src/abi.rs:1537:20
[INFO] [stdout]      |
[INFO] [stdout] 1537 |             .drain(self.stack.len() - tys.len()..)
[INFO] [stdout]      |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]     --> src/abi.rs:1579:38
[INFO] [stdout]      |
[INFO] [stdout] 1579 |             .extend(self.stack.drain((self.stack.len() - operands_len)..));
[INFO] [stdout]      |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]     --> src/abi.rs:1607:38
[INFO] [stdout]      |
[INFO] [stdout] 1607 |             .extend(self.stack.drain((self.stack.len() - size)..));
[INFO] [stdout]      |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]     --> src/abi.rs:1744:36
[INFO] [stdout]      |
[INFO] [stdout] 1744 | ...                   .drain(self.stack.len() - record.fields.len()..)
[INFO] [stdout]      |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]     --> src/abi.rs:1854:80
[INFO] [stdout]      |
[INFO] [stdout] 1854 | ...                   for (actual, expected) in temp.iter().zip(&results[1..]) {
[INFO] [stdout]      |                                                                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]     --> src/abi.rs:1867:47
[INFO] [stdout]      |
[INFO] [stdout] 1867 | ...                   tys: &results[pushed..],
[INFO] [stdout]      |                                     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]     --> src/abi.rs:2057:36
[INFO] [stdout]      |
[INFO] [stdout] 2057 | ...                   .drain(self.stack.len() - temp.len()..)
[INFO] [stdout]      |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]     --> src/abi.rs:2144:32
[INFO] [stdout]      |
[INFO] [stdout] 2144 |                         .drain(self.stack.len() + 1 - params.len()..)
[INFO] [stdout]      |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]     --> src/abi.rs:2159:79
[INFO] [stdout]      |
[INFO] [stdout] 2159 | ...                   for (actual, expected) in temp.iter().zip(&params[1..]) {
[INFO] [stdout]      |                                                                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]     --> src/abi.rs:2238:38
[INFO] [stdout]      |
[INFO] [stdout] 2238 | ...                   for i in 0..r.num_i32s() {
[INFO] [stdout]      |                                ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]     --> src/abi.rs:2258:32
[INFO] [stdout]      |
[INFO] [stdout] 2258 |                         .drain(self.stack.len() - record.fields.len()..)
[INFO] [stdout]      |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]     --> src/abi.rs:2367:38
[INFO] [stdout]      |
[INFO] [stdout] 2367 | ...                   for i in 0..r.num_i32s() {
[INFO] [stdout]      |                                ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ast/lex.rs:121:21
[INFO] [stdout]     |
[INFO] [stdout] 121 |         &self.input[span.start as usize..span.end as usize]
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ast/lex.rs:215:35
[INFO] [stdout]     |
[INFO] [stdout] 215 |                 match &self.input[start..end] {
[INFO] [stdout]     |                                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:336:36
[INFO] [stdout]     |
[INFO] [stdout] 336 |                 Some((_, '\'')) => ('\''),
[INFO] [stdout]     |                                    ^    ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 336 -                 Some((_, '\'')) => ('\''),
[INFO] [stdout] 336 +                 Some((_, '\'')) => '\'',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:337:35
[INFO] [stdout]     |
[INFO] [stdout] 337 |                 Some((_, 't')) => ('\t'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 337 -                 Some((_, 't')) => ('\t'),
[INFO] [stdout] 337 +                 Some((_, 't')) => '\t',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:338:35
[INFO] [stdout]     |
[INFO] [stdout] 338 |                 Some((_, 'n')) => ('\n'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 338 -                 Some((_, 'n')) => ('\n'),
[INFO] [stdout] 338 +                 Some((_, 'n')) => '\n',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:339:35
[INFO] [stdout]     |
[INFO] [stdout] 339 |                 Some((_, 'r')) => ('\r'),
[INFO] [stdout]     |                                   ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 339 -                 Some((_, 'r')) => ('\r'),
[INFO] [stdout] 339 +                 Some((_, 'r')) => '\r',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]    --> src/ast/lex.rs:340:36
[INFO] [stdout]     |
[INFO] [stdout] 340 |                 Some((_, '\\')) => ('\\'),
[INFO] [stdout]     |                                    ^    ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 340 -                 Some((_, '\\')) => ('\\'),
[INFO] [stdout] 340 +                 Some((_, '\\')) => '\\',
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]    --> src/ast/lex.rs:346:26
[INFO] [stdout]     |
[INFO] [stdout] 346 |                     || (('\u{20}'..='\u{10ffff}').contains(&ch) && ch != '\u{7f}') =>
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]    --> src/ast/lex.rs:378:13
[INFO] [stdout]     |
[INFO] [stdout] 378 |         || ('A'..='Z').contains(&ch)
[INFO] [stdout]     |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]    --> src/ast/lex.rs:379:13
[INFO] [stdout]     |
[INFO] [stdout] 379 |         || ('a'..='z').contains(&ch)
[INFO] [stdout]     |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeInclusive` range syntax
[INFO] [stdout]    --> src/ast/lex.rs:380:13
[INFO] [stdout]     |
[INFO] [stdout] 380 |         || ('0'..='9').contains(&ch)
[INFO] [stdout]     |             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/ast/resolve.rs:100:32
[INFO] [stdout]     |
[INFO] [stdout] 100 |             for name in u.from[1..].iter() {
[INFO] [stdout]     |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/ast/resolve.rs:523:33
[INFO] [stdout]     |
[INFO] [stdout] 523 |                 for line in doc[2..doc.len() - 2].lines() {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]     --> src/ast.rs:1056:36
[INFO] [stdout]      |
[INFO] [stdout] 1056 |         if let Some(s) = input.get(start..end) {
[INFO] [stdout]      |                                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/lib.rs:275:35
[INFO] [stdout]     |
[INFO] [stdout] 275 |                 for _ in contents[last_pos..range.start].lines() {
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interface`
[INFO] [stdout]    --> tests/all.rs:101:22
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let result = Interface::parse_file(test);
[INFO] [stdout]     |                      ^^^^^^^^^ use of undeclared type `Interface`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::Interface;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Interface` in this scope
[INFO] [stdout]    --> tests/all.rs:156:16
[INFO] [stdout]     |
[INFO] [stdout] 156 | fn to_json(i: &Interface) -> String {
[INFO] [stdout]     |                ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::Interface;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:267:13
[INFO] [stdout]     |
[INFO] [stdout] 267 |             TypeDefKind::Type(t) => Type::Primitive(translate_type(t)),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:268:13
[INFO] [stdout]     |
[INFO] [stdout] 268 |             TypeDefKind::Record(r) => Type::Record {
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:275:13
[INFO] [stdout]     |
[INFO] [stdout] 275 |             TypeDefKind::Variant(v) => Type::Variant {
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:282:13
[INFO] [stdout]     |
[INFO] [stdout] 282 |             TypeDefKind::PushBuffer(ty) => Type::PushBuffer(translate_type(ty)),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:283:13
[INFO] [stdout]     |
[INFO] [stdout] 283 |             TypeDefKind::PullBuffer(ty) => Type::PullBuffer(translate_type(ty)),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:284:13
[INFO] [stdout]     |
[INFO] [stdout] 284 |             TypeDefKind::List(ty) => Type::List(translate_type(ty)),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:285:13
[INFO] [stdout]     |
[INFO] [stdout] 285 |             TypeDefKind::Pointer(ty) => Type::Pointer(translate_type(ty)),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeDefKind`
[INFO] [stdout]    --> tests/all.rs:286:13
[INFO] [stdout]     |
[INFO] [stdout] 286 |             TypeDefKind::ConstPointer(ty) => Type::ConstPointer(translate_type(ty)),
[INFO] [stdout]     |             ^^^^^^^^^^^ use of undeclared type `TypeDefKind`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 10  + use cosmian_wit_parser::TypeDefKind;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wit_parser`
[INFO] [stdout]    --> tests/all.rs:265:31
[INFO] [stdout]     |
[INFO] [stdout] 265 |     fn translate_typedef(ty: &wit_parser::TypeDef) -> Type {
[INFO] [stdout]     |                               ^^^^^^^^^^ use of undeclared crate or module `wit_parser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wit_parser`
[INFO] [stdout]    --> tests/all.rs:290:28
[INFO] [stdout]     |
[INFO] [stdout] 290 |     fn translate_type(ty: &wit_parser::Type) -> String {
[INFO] [stdout]     |                            ^^^^^^^^^^ use of undeclared crate or module `wit_parser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cosmian-wit-parser` (test "all") due to 15 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 32 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "8a264c42c59b1b62d547e67ecff8139916209624719da2e77e5ef75f14d22ce8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8a264c42c59b1b62d547e67ecff8139916209624719da2e77e5ef75f14d22ce8", kill_on_drop: false }`
[INFO] [stdout] 8a264c42c59b1b62d547e67ecff8139916209624719da2e77e5ef75f14d22ce8
